package com.xiaoka.camelv.service;

import java.util.List;

import com.thinkgem.jeesite.common.persistence.Page;
import com.xiaoka.camelv.entity.CamelvRoute;
import com.xiaoka.camelv.entity.CamelvServer;
import com.xiaoka.camelv.entity.vo.ResponseData;

public interface ICamelvServerService {
	/**
	 * 获取封装好的路由信息
	 * 
	 * @param serverId
	 * @return
	 */
	public List<CamelvRoute> getRoutes(String serverId);

	public List<CamelvServer> getAll();

	public Page<CamelvServer> find(Page<CamelvServer> page, CamelvServer camelvServer);

	public ResponseData save(CamelvServer camelvServer);

	public ResponseData delete(String id);

	public CamelvServer get(String id);

	public ResponseData update(CamelvServer camelvServer);

	public String getData(String id);
}